﻿using DataBaseLib.Entities.BaseEntity;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataBaseLib.Entities
{
    [SugarTable("OutStoreInfo")]//设置数据库名称，当类库名称和数据库不一致是可以通过别名统一
    public class OutStoreInfo : BaseModel
    {
        /// <summary>
        /// 出库订单Id
        /// </summary>
        [SugarColumn(ColumnDescription = "出库订单Id")]
        public int OutStoreOrderId { get; set; }
        /// <summary>
        /// 分类Id
        /// </summary>
        [SugarColumn(ColumnDescription = "分类Id")]
        public int CargoId { get; set; }
        /// <summary>
        /// 库位Id
        /// </summary>
        [SugarColumn(ColumnDescription = "库位Id")]
        public int LocationId { get; set; }
        /// <summary>
        /// 人员Id
        /// </summary>
        [SugarColumn(ColumnDescription = "人员Id")]
        public int UserId { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        [SugarColumn(ColumnDescription = "价格")]
        public double Price { get; set; }

        /// <summary>
        /// 标签
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(250)", ColumnDescription = "标签")]
        public string Tag { get; set; }
    }
}
